const generateData = (len) => {
  const result = [];

  for (let i = 0; i < len; i++) {
    result.push(Math.floor(1000 * Math.random()));
  }

  return result;
};

export default generateData;
